Paul Moore [Thu, 5 Sep 2024 21:29:13 +0000 (17:29 -0400)]
[PATCH] tests: only use bogus syscall numbers in test 29
The goal of test 29 is to test bogus negative syscall numbers,
unfortunately it appears our choice of syscalls was not bogus on all
the architectures we support. This commit fixes that by picking a
syscall number well outside the pseudo-syscall/PNR range and removing
the sysmips(2) syscall from the test so as to not cause problems
at a later date.
Signed-off-by: Paul Moore <paul@paul-moore.com> Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
Gbp-Pq: Name tests_only_use_bogus_syscall_numbers_in_test_29.patch
Mayank Mrinal [Thu, 1 Jun 2023 09:23:44 +0000 (14:53 +0530)]
[PATCH] tests: Fix wrong syscall-error in test 29
29-sim-pseudo_syscall.c was using `-11001` syscall.
Corrected it to `-10001`.
Signed-off-by: Mayank Mrinal <mayank.mrinal@sony.com> Acked-by: Paul Moore <paul@paul-moore.com> Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
Gbp-Pq: Name tests_Fix_wrong_syscall-error_in_test_29.patch
Xiaotian Wu [Tue, 9 Feb 2021 07:52:55 +0000 (15:52 +0800)]
[PATCH] doc: update README and manpage for 64-bit LoongArch
Signed-off-by: Xiaotian Wu <wuxiaotian@loongson.cn> Acked-by: Tom Hromatka <tom.hromatka@oracle.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Gbp-Pq: Name doc_update_README_and_manpage_for_64-bit_LoongArch.patch
Xiaotian Wu [Tue, 9 Feb 2021 07:52:18 +0000 (15:52 +0800)]
[PATCH] tests: Add 64-bit LoongArch support
[xen0n: LoongArch (and a few upcoming architectures / ABIs) does not
have fstat, so the fstat in 06-sim-actions is also being changed to
fstatfs for uniformity across the board.]
Signed-off-by: Xiaotian Wu <wuxiaotian@loongson.cn> Signed-off-by: WANG Xuerui <git@xen0n.name> Acked-by: Tom Hromatka <tom.hromatka@oracle.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Gbp-Pq: Name tests_Add_64-bit_LoongArch_support.patch
Xiaotian Wu [Tue, 9 Feb 2021 07:39:13 +0000 (15:39 +0800)]
[PATCH] arch: Add 64-bit LoongArch support
Signed-off-by: Xiaotian Wu <wuxiaotian@loongson.cn> Signed-off-by: WANG Xuerui <git@xen0n.name> Acked-by: Tom Hromatka <tom.hromatka@oracle.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Gbp-Pq: Name arch_Add_64-bit_LoongArch_support.patch
Xiaotian Wu [Sun, 23 Oct 2022 06:36:42 +0000 (14:36 +0800)]
[PATCH] tests: add fstatfs() syscall in the 06-sim-actions
Signed-off-by: Xiaotian Wu <wuxiaotian@loongson.cn> Acked-by: Tom Hromatka <tom.hromatka@oracle.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Gbp-Pq: Name tests_add_fstatfs_syscall_in_the_06-sim-actions.patch
Xiaotian Wu [Sat, 6 Nov 2021 06:13:49 +0000 (14:13 +0800)]
[PATCH] syscalls: update to Linux v6.0
Signed-off-by: Xiaotian Wu <wuxiaotian@loongson.cn> Signed-off-by: WANG Xuerui <git@xen0n.name> Acked-by: Tom Hromatka <tom.hromatka@oracle.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Gbp-Pq: Name syscalls_update_to_Linux_v6.0.patch
Tom Hromatka [Mon, 21 Mar 2022 17:24:25 +0000 (11:24 -0600)]
[PATCH] python: Fix distutils DeprecationWarning
The python distutils package is deprecated. Utilize
setuptools and cythonize instead.
./setup.py:26: DeprecationWarning: The distutils
package is deprecated and slated for removal in
Python 3.12. Use setuptools or check PEP 632 [1] for
potential alternatives
[1] https://peps.python.org/pep-0632/
Fixes: https://github.com/seccomp/libseccomp/issues/372 Acked-by: Paul Moore <paul@paul-moore.com> Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
Gbp-Pq: Name python_Fix_distutils_DeprecationWarning.patch
Felix Geyer [Sun, 24 Nov 2024 20:54:16 +0000 (21:54 +0100)]
libseccomp (2.5.5-2) unstable; urgency=medium
* Revert: Dynamically skip autopkgtests when the test runner already applies
seccomp restrictions.
- Container based backends usually apply a seccomp filter so it's better
to declare the isolation-machine restriction.
* Backport support for syscalls up to kernel v6.12-rc5 and loongarch64.
(Closes: #1051323)
- syscalls_update_to_Linux_v6.0.patch
- tests_add_fstatfs_syscall_in_the_06-sim-actions.patch
- arch_Add_64-bit_LoongArch_support.patch
- tests_Add_64-bit_LoongArch_support.patch
- doc_update_README_and_manpage_for_64-bit_LoongArch.patch
- tests_Fix_wrong_syscall-error_in_test_29.patch
- tests_only_use_bogus_syscall_numbers_in_test_29.patch
- arch_unify_handling_of_syscall.tbl_in_arch-syscall-validate.patch
- arch_adapt_arch-syscall-validate_to_Linux_6.11.patch
- syscalls_Update_the_syscall_table_for_Linux_v6.12-rc5.patch